package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tt.com.common.annotation.IsNull;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("")
public class ColdRoomAndMessage {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;
    /**
     * 冷藏棺
     */
    @TableField(value = "cold_room_id")
    private String coldRoomId;

    /**
     *  逝者
     */
    @TableField(value = "dead_id")
    private String deadId;

    /**
     * 出藏时间
     */
    @IsNull
    @TableField(value = "come_cold_time")
    private Date comeColdTime;

    /**
     * 入藏时间
     */
    @IsNull
    @TableField(value = "enter_cold_time")
    private Date enterColdTime;


    /**
     * 冷藏状态  1入藏  2出藏
     */
    @TableField(value = "refrigerate_status")
    private Integer refrigerateStatus;

    /**
     * 格位编号
     */
    @TableField(value = "lattice_num")
    private String latticeNum;

    /**
     * 是否启用
     */
    @TableField(value = "cold_status")
    private Integer coldStatus;


}
